package com.example.anliku.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.example.anliku.entity.ExampleComment;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ExampleCommentMapper {
    int deleteByPrimaryKey(Integer exampleCommentId);

    int insert(ExampleComment record);

    int insertSelective(ExampleComment record);

    ExampleComment selectByPrimaryKey(Integer exampleCommentId);

    int updateByPrimaryKeySelective(ExampleComment record);

    int updateByPrimaryKey(ExampleComment record);

    List<ExampleComment> selectAllByExampleCommentExampleId(@Param("exampleCommentExampleId")Integer exampleCommentExampleId);

    int deleteByExampleCommentExampleIdAndExampleCommentCommentId(@Param("exampleCommentExampleId")Integer exampleCommentExampleId,@Param("exampleCommentCommentId")Integer exampleCommentCommentId);

int deleteByExampleCommentExampleId(@Param("exampleCommentExampleId")Integer exampleCommentExampleId);



}
